
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
    <%--http://127.0.0.1:8080/ch06/login.jsp--%>
    <base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
</head>
<body>

<form action="user/AuctionUserServlet" method="post">
    <p> 用户名: <input type="text" name="userName" id="userName" value="admin"> </p>
    <p> 密码: <input type="password" name="userPassword" id="userPassword" value="666666"> </p>
    <p> 请选择角色:
        <input type="radio" name="userIsAdmin" id="rdoAdmin" value="1" checked> 管理员
        <input type="radio" name="userIsAdmin" id="rdoUser" value="0" > 普通用户
    </p>

    <p><input type="submit" name="btnsubmit" value="登录"> </p>
</form>
</body>
</html>
